var express=require("express");
var app=express();
var http=require("http").Server(app);

app.use(express.static("demo"));
app.use(express.static("resources"));
app.get("/",function(req,res){
    res.sendFile(__dirname+"/demo/index.html");
});
http.listen(8901,function(){
    console.log('server started on http://localhost:8901/');
});